/**
*@Author: zt
*@Description: 应急导航接口
*@Date 2024-09-20
*/
import request from '@/http'

// 新增
export const add = async (data: object) => {
  return await request.post({
    url: '/api/bizz/tEmergencyNavigation',
    data: data
  })
}

// 列表分页查询
export const page = async (data: object) => {
  return await request.post({
    url: '/api/bizz/tEmergencyNavigation/page',
    data: data
  })
}

// 列表分页查询
export const updata = async (data: object) => {
  return await request.post({
    url: '/api/bizz/tEmergencyNavigation/update',
    data: data
  })
}

// 单体查询
export const query = async (id: String) => {
  return await request.get({
    url: '/api/bizz//tEmergencyNavigation/' + id,
  })
}



// 删除
export const del = async (data: Array<any>) => {
  return await request.post({
    url: '/api/bizz/tEmergencyNavigation/delete',
    data,
    headersType: 'application/x-www-form-urlencoded'
  })
}
